package com.shuai.user.mapper;

import com.shuai.common.constant.ChatType;
import com.shuai.user.domain.entity.SessionChatRecord;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shuai.user.domain.vo.MessageVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author bxs
* @description 针对表【session_chat_record】的数据库操作Mapper
* @createDate 2024-07-04 13:19:29
* @Entity generator.domain.entity.SessionChatRecord
*/
@Mapper
public interface SessionChatRecordMapper extends BaseMapper<SessionChatRecord> {

    List<MessageVO> listUserSessionChatRecord(@Param("userId") String userId, @Param("sessionId") Long sessionId, @Param("chatType") int chatType);
}




